package net.sx.minemodule.mvp.item;

import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseItem;

import net.sx.minemodule.R;
import net.sx.minemodule.mvp.model.HistoryIntegralModel;

/**
 * add shibo.zheng
 * 19/06/14
 * 历史积分记录子item
 */
public class IntegralRecordItem extends BaseItem<HistoryIntegralModel> {

    public IntegralRecordItem(HistoryIntegralModel data, MultiTypeAdapter adapter) {
        super(data);

        setOnClickListener(v -> {

        });
    }

    @Override
    public int getLayout() {
        return R.layout.mine_integral_recording_item;
    }

    public String getHistoryTime() {
        return getData().getHistoryTime();
    }

    public String getTotalPoint() {
        return getData().getTotalPoint();
    }

}
